package com.celesea.auth.position.v1.controller.request;

import com.celesea.framework.vo.DictionaryVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @author JackYuan
 * @create 2017-11-24 18:58
 */

@ApiModel(value = "岗位成员")
public class UserPositionRequest {
    @ApiModelProperty(value = "主键")
    private String id;

    @NotNull
    @ApiModelProperty(value = "用户")
    private DictionaryVo user;

    @NotNull
    @ApiModelProperty(value = "部门")
    private DictionaryVo dept;

    @NotNull
    @ApiModelProperty(value = "是否继承到下级")
    private Byte extend;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public DictionaryVo getUser() {
        return user;
    }

    public void setUser(DictionaryVo user) {
        this.user = user;
    }

    public DictionaryVo getDept() {
        return dept;
    }

    public void setDept(DictionaryVo dept) {
        this.dept = dept;
    }

    public Byte getExtend() {
        return extend;
    }

    public void setExtend(Byte extend) {
        this.extend = extend;
    }
}
